<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/10/16
  Time: 8:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isErrorPage="true" %>
                                                          <%--设成错误页面,状态吗变成500--%>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>服务器出错</h1><br>
    <%= exception.getMessage()%><%--只有设置isErrorPage为true时,可以使用exception--%>
</body>
</html>
